package com.sinog.alarm;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @desc 监控服务启动类
 * @author lk
 * @date 2022-02-17 9:48
 */
@Slf4j
@EnableScheduling
@SpringBootApplication
@EnableAsync
public class AlarmApplication {

    public static ConfigurableApplicationContext applicationContext;
    public static void main(String[] args) {
        applicationContext = SpringApplication.run(AlarmApplication.class,args);
        log.info("========================================");
        log.info("========================================");
        log.info("========================================");
        log.info("====    alarm Service Startup ... ======");
        log.info("========================================");
        log.info("========================================");
        log.info("========================================");
    }
}